﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

using libfinancialdata;

namespace Test
{
	public partial class Form1 : Form
	{
		public Form1()
		{
			InitializeComponent();
		}

		private void Form1_Load(object sender, EventArgs e)
		{
			string quoteFile = "";

			QuoteTree tree = new QuoteTree();
			if (!FinancialData.ParseData(quoteFile, DataFileType.THS, out tree))
			{
				MessageBox.Show("fail to parse quote file: " + quoteFile);
			}
		}
	}
}
